/**
 * 2017年4月23日
 */
package cn.edu.bjtu.asyn.event;

import org.springframework.context.ApplicationEvent;

/**
 * 事件对象
 * type=0表示创建word2vec模型,type=1表示创建lda模型,type=2表示创建rnn
 * @author Alex
 *
 */
public class BuildModelEvet extends ApplicationEvent{

	private static final long serialVersionUID = 4171379139649157998L;
	String userName;
	/**
	 * @param source
	 */
	public BuildModelEvet(Object source,String userName) {
		super(source);
		this.userName = userName;
	}
	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
}
